package cn.stylefeng.guns.modular.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 承运报价表
 * </p>
 *
 * @author zhucx
 * @since 2021-07-29
 */
@Data
@TableName("basic_line_price")
public class BasicLinePrice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 线路id
     */
    @TableField("line_id")
    private Long lineId;

    /**
     * 线路名称
     */
    @TableField("line_name")
    private String lineName;

    /**
     * 承运商id
     */
    @TableField("carrier_id")
    private Long carrierId;

    /**
     * 承运商
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 车型
     */
    @TableField("car_type")
    private String carType;

    /**
     * 费用名称
     */
    @TableField("price_name")
    private String priceName;

    /**
     * 计价方式
     */
    @TableField("price_mode")
    private String priceMode;

    /**
     * 计价标准
     */
    @TableField("price")
    private String price;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 备注
     */
    @TableField("note")
    private String note;

    /**
     * 创建时间
     */
    @TableField("create_times")
    private String createTimes;

    /**
     * 创建人员
     */
    @TableField("create_name")
    private String createName;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;


    //起步价
    @TableField("price_qb")
    private String priceQb;
    //起步点数
    @TableField("price_qbds")
    private String priceQbds;
    //超点费用
    @TableField("prce_qbcd")
    private String prceQbcd;
    //计费类别
    @TableField("price_type")
    private String priceType;
    //参数标准
    @TableField("price_csbz")
    private String priceCsbz;
    //参数下限
    @TableField("price_csxx")
    private String priceCsxx;
    //参数上线
    @TableField("price_cssx")
    private String priceCssx;

    //发票类型
    @TableField("invoice_type")
    private String invoiceType;

    //税率
    @TableField("tax_rate")
    private BigDecimal taxRate;

    @Override
    public String toString() {
        return "BasicLinePrice{" +
                "id=" + id +
                ", priceName='" + priceName + '\'' +
                ", priceMode='" + priceMode + '\'' +
                ", price='" + price + '\'' +
                ", lineId=" + lineId +
                ", lineName='" + lineName + '\'' +
                ", deptId=" + deptId +
                ", deliverId=" + deliverId +
                ", note='" + note + '\'' +
                ", createTimes='" + createTimes + '\'' +
                ", createName='" + createName + '\'' +
                ", v1='" + v1 + '\'' +
                ", v2='" + v2 + '\'' +
                ", v3='" + v3 + '\'' +
                ", v4='" + v4 + '\'' +
                ", priceQb='" + priceQb + '\'' +
                ", priceQbds='" + priceQbds + '\'' +
                ", prceQbcd='" + prceQbcd + '\'' +
                ", priceType='" + priceType + '\'' +
                ", priceCsbz='" + priceCsbz + '\'' +
                ", priceCsxx='" + priceCsxx + '\'' +
                ", priceCssx='" + priceCssx + '\'' +
                '}';
    }
}
